package com.wayne.testapp.api;

import android.database.Observable;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by wayne on 2016/06/28.
 */
public interface RosettaApi {

    @GET("/zuowen/typeList")
    Call<ResponseBody> findType(String key,int id);

    @GET("api/getsmscode")
    rx.Observable<ResponseBody> getSms(@Query("telNo") String telNo);
}
